package com.ruoyi.sports.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.sports.domain.Application;
import com.ruoyi.sports.domain.Event;

import java.util.Date;

/**
 * @ClassName ApplicationVO
 * @Description TODO
 * @Author JH Z
 * @Date 2023/3/12 11:27
 * @Version 1.0
 */
public class EventVO extends Event {

    /** 运动会名字 */
    @Excel(name = "运动会名字")
    private String sportsMeetingName;

    /** 报名开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicaitonStart;

    /** 报名结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicaitonEnd;

    public EventVO() {
        super();
    }

    public EventVO(String sportsMeetingName, Date applicaitonStart, Date applicaitonEnd) {
        this.sportsMeetingName = sportsMeetingName;
        this.applicaitonStart = applicaitonStart;
        this.applicaitonEnd = applicaitonEnd;
    }

    public String getSportsMeetingName() {
        return sportsMeetingName;
    }

    public void setSportsMeetingName(String sportsMeetingName) {
        this.sportsMeetingName = sportsMeetingName;
    }

    public Date getApplicaitonStart() {
        return applicaitonStart;
    }

    public void setApplicaitonStart(Date applicaitonStart) {
        this.applicaitonStart = applicaitonStart;
    }

    public Date getApplicaitonEnd() {
        return applicaitonEnd;
    }

    public void setApplicaitonEnd(Date applicaitonEnd) {
        this.applicaitonEnd = applicaitonEnd;
    }
}
